package com.woniuxy.businessassembly.service;

import com.woniuxy.businessassembly.model.HotelRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.hotel.form.RoomForm;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Kevin Kwok
 * @since 2021-05-24
 */
public interface IHotelRoomService extends IService<HotelRoom> {
    int addNewRoom(HotelRoom hotelRoom);
    int modifyRoom(HotelRoom hotelRoom,Integer roomId);
    int deleteRoom(Integer roomId);
    List<HotelRoom> queryAllRooms();
    List<HotelRoom> queryByFeature(String featrue);
    List<HotelRoom> queryByType(String type);
}
